package com.lst.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.lst.tools.mybatis.entity.DeleteBaseModel;

/**
 * 目标管理表
 *
 * @author Frank
 * @date 2019-12-30 10:31:37
 * @version: V1.0
 */
@Data
@NoArgsConstructor
@TableName(value = "lst_target")
@ApiModel(value = "目标管理表")
public class Target extends DeleteBaseModel {

    public static final String PROMO_USER_ID = "promo_user_id";
    public static final String MONTH = "month";
    public static final String PLAN_TOTAL_ORDER = "plan_total_order";
    public static final String PLAN_TOTAL_ORDER_AMOUNT = "plan_total_order_amount";
    public static final String CREATE_USER_ID = "create_user_id";
    public static final String UPDATE_USER_ID = "update_user_id";

    @ApiModelProperty(name = "promoUserId", value = "推销员用户id", dataType = "Long")
    @TableField(value = PROMO_USER_ID)
    private Long promoUserId;

    @ApiModelProperty(name = "month", value = "月，格式yyyy-MM", dataType = "String")
    @TableField(value = MONTH)
    private String month;

    @ApiModelProperty(name = "planTotalOrder", value = "计划总签单数", dataType = "Integer")
    @TableField(value = PLAN_TOTAL_ORDER)
    private Integer planTotalOrder;

    @ApiModelProperty(name = "planTotalOrderAmount", value = "计划总订单金额", dataType = "Double")
    @TableField(value = PLAN_TOTAL_ORDER_AMOUNT)
    private Double planTotalOrderAmount;

    @ApiModelProperty(name = "createUserId", value = "创建者用户id", dataType = "Long")
    @TableField(value = CREATE_USER_ID)
    private Long createUserId;

    @ApiModelProperty(name = "updateUserId", value = "更新者用户id", dataType = "Long")
    @TableField(value = UPDATE_USER_ID)
    private Long updateUserId;


}